package com.course.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

@Mapper
public interface RegisterMapper {
    //检验用户名是否重复
    Integer ReUserName(String username);
    //检验电话号码是否重复
    Integer ReUserPhone(String userphone);
    //数据满足条件向下传递
    int AddUser(String username,String userphone,String userpassword,String usernumber,String role);

    Integer checkPhoneNumber(String phonenumber);

    Integer  checkEmail(String email);

    Integer  checkUserName(String username);
    //增加用户
    int RegisterUser(String username,  String password1,String  phonenumber, String email);

}
